package dk.rafaelcouto.PhoneTone_Extractor;

public class ToneProcessor
{
    public long birth;
    public int[] energy;
    public boolean ready;
    public char tone;
    
    public ToneProcessor(final char tone, final int[] energy) {
        this.ready = false;
        this.tone = tone;
        this.energy = energy;
        this.birth = System.currentTimeMillis();
        this.ready = false;
    }
    
    @Override
    public String toString() {
        String s = String.valueOf(this.tone) + " - " + this.birth;
        final int[] energy = this.energy;
        for (int length = energy.length, i = 0; i < length; ++i) {
            s = String.valueOf(s) + " - " + energy[i];
        }
        return s;
    }
}
